<!-- 我的文章 -->
<template>
  <div class="art-container">
    <div class="row" v-for="row in 5" :key="row">
      <el-card
        shadow="hover"
        :body-style="	{ padding: '0px' }"
        class="talk-card"
        v-for="card in 2"
        :key="card"
      >
        <div class="talk-face">
       
            <router-link to="/home/talkcon">
             <img src="@/images/1.png" alt width="150px" height="150px">
             </router-link>
               
         
        </div>
        <div class="main">
          <div class="talk-title">
            <span>佳能尼康哪个好</span>
          </div>
          <div class="talk-con">
            <span>就选择佳能和尼康做一个简单的</span>
          </div>
        </div>
        <div class="sign">
          <div class="s-left">
            <img src="@/assets/icon1/sign.svg" height="25px">&nbsp;
            <el-button size="mini" v-for="sign in signs" :key="sign">{{sign}}</el-button>
          </div>
          <div class="s-right">
            <span>ice摄影师|133阅读量</span>
            <span>30喜欢</span>
            <span>30评论</span>
          </div>
        </div>
      </el-card>
    </div>
      <div class="more" style="text-align:center;margin-top:50px;">
 <el-button type="info">加载更多</el-button>
      </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      signs: ["人像", "佳能"]
    };
  },

  methods: {}
}

</script>
<style lang='scss' scoped>
.art-container{
  margin:50px 200px;
  .row{
    width:100%;
    display: flex;
    justify-content: space-between;
    .talk-card {
      height: 230px;
      margin-top: 20px;
      .talk-face {
        float: left;
        width: 190px;
        height: 190px;
        padding: 20px 25px;
        img {
          box-shadow: 1px 1px 2px 2px #eee;
        }
      }
      .main {
        padding: 20px 30px;
        height: 190px;
        margin-left: 130px;
        .talk-title {
          overflow-y: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          span {
            line-height: 30px;
            font-size: 30px;
            letter-spacing: 3px;
            font-weight: bold;
          }
        }
        .talk-con {
          padding: 20px 0;

          span {
            letter-spacing: 2px;
            font-size: 18px;
            color: #909399;
          }
        }
      }
    }
    .sign {
      display: flex;
      justify-content: space-between;
      height: 40px;
      width: 100%;
      padding: 0 20px;
      .el-button {
        border-radius: 10px;
        color: #909399;
      }
      .s-right {
        span {
          font-size: 16px;
          color: #909399;
          letter-spacing: 2px;
          margin-left: 20px;
        }
      }
    }
  }
  
}
</style>